<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
    <!--属性绑定,如果vue插件没有安装成功,会报错,alt+回车自动解决-->
    <a v-bind:href="url">超链接1</a>
    <!--省略掉v-bind是简写方式-->
    <a :href="url">超链接2</a>
    <img :src="imgurl" width="400" alt="">
    <input type="text" :value="info">
</div>

<script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>

<script>
    let v=new Vue({
        el:"div",
        data:{
            url:"http://www.baidu.com",
            imgurl:"../gxs.jpg",
            info:"真空家乡"
        }
    })

    setTimeout(function () {
        v.url="http://www.youku.com";
        v.imgurl="../gxs02.png"
        v.info="顾小桑"
    },3000)
</script>
</body>
</html>